//
//  JTPushTool.h
//  JiongTu
//
//  Created by 杨璟 on 16/4/22.
//  Copyright © 2016年 YSKJ. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^pushCompletionBlock)(BOOL succeeded, NSError *error);

@class JTPassengerTrip, JTDriverTrip;

@interface JTPushTool : NSObject

+ (void)pushToRefusePassenger:(JTPassengerTrip *)passTrip withBlock:(pushCompletionBlock)result;

+ (void)pushToRemindPassenger:(NSArray *)passTrips withBlock:(pushCompletionBlock)result;

+ (void)pushToPassenger:(JTPassengerTrip *)passTrip withBlock:(pushCompletionBlock)result;

+ (void)pushToDriver:(JTDriverTrip *)driverTrip;

+ (void)pushToDriver:(JTDriverTrip *)driverTrip withBlock:(pushCompletionBlock)result;

+ (NSMutableArray *)currentNotifications;

+ (void)editNotifications:(NSMutableArray *)array;

@end
